home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / mathstud.zip / COND.M < prev    next >
Text File  |  1993-03-23  |  211b  |  11 lines

  1. function y=cond(x)
  2. %y=cond(x)
  3. %x - input matrix
  4. %y - the condition number of a matrix using the SVD
  5.  
  6. %       S.Halevy 7/31/92
  7. %       Copyright (c) 1992 by the MathWizards
  8.  
  9. S=svd(x);
  10. y=max(S)/min(S); 
  11.